<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML >

<head><title>用户中心</title>      
    <link href=img/ys1.css type=text/css rel=stylesheet>
    <style type=text/css>.STYLE2 {
            COLOR: #ff0000
        }
    </STYLE>
    <STYLE>
        #div0{
            width:100%;
            height:50px;
            background-color:#FFCCCC;
            position:fixed;
            z-index:10;
            margin:-10px -10px 0px -10px;
        }
        #top-page{
            float:right;
            height:10px;
            white-space:nowrap;
            margin:25px 0px 0px 0px;
        }	
        #logo{
            height:50px;
            width:50px;
            float:left;
        }

    </style>
</HEAD>
<body text=#000000 bgColor=#F0FFFF leftMargin=0 topMargin=0>

    <div id="div0">
        <div id="logo">
            <img src="img/logo.jpg" style="width:100%;height:100%; margin-left:15%">
        </div>
        <div id="top-page" align="right" style="margin-right:5%">
            <div align=center>
                <a href="/J02_T13_P04/index.jsp"><FONT color=#ffffff>首页</FONT></a><FONT color=#ffffff> │ </FONT>
                <a href="/J02_T13_P04/newbook.jsp"><FONT color=#ffffff>最新图书</FONT></a><FONT color=#ffffff> │ </FONT>
                <a href="/J02_T13_P04/fenlei.jsp"><FONT color=#ffffff>图书分类</FONT></a><FONT color=#ffffff> │ </FONT>
                <a href="/J02_T13_P04/allbooklist.jsp"><FONT color=#ffffff>全部图书</FONT></a><FONT color=#ffffff> │ </FONT>
                <a href="/J02_T13_P04/admin/login.jsp" target=_blank><FONT color=#ffffff>管理入口</FONT></a>
            </div>
        </div>
    </div>
    <div align="center">
        <img src="img/top.jpg" width="779">
    </div>

    <%
        String message = (String) request.getAttribute("message");
        if (message == null) {
            message = "";
        }
        if (!message.trim().equals("")) {
            out.println("<script language='javascript'>");
            out.println("alert('" + message + "');");
            out.println("</script>");
        }
        request.removeAttribute("message");

        String name = (String) session.getAttribute("name");
        if (name != null) {
    %>

    <TABLE cellSpacing=0 cellPadding=0 width=779 align=center border=0>
        <TBODY>
            <TR>
                <TD align=center vAlign=top width=779 height=400>

                    <table bgcolor=#99CCCC align=left width=100 border=0 height=400>
                        <tr>
                            <td align=center bordercolor="#CCFFFF" bgcolor="#99CCCC"><a href="upuser.jsp">个人信息</a></td>
                        </tr>
                        <tr>
                            <td align=center bordercolor="#FFFFFF" bgcolor="#99CCCC"><a href="gouwuche.jsp">我的购物车</a></td> 
                        </tr>
                        <tr>
                            <td align=center bordercolor="#FFFFFF" bgcolor="#99CCCC"><a href="shoucangjia.jsp">我的收藏夹</a></td> 
                        </tr>
                        <tr>
                            <td align=center bordercolor="#FFFFFF" bgcolor="#99CCCC"><a href="dingdan.jsp">我的定单</a></td>
                        </tr>
                        <tr>
                            <td align=center bordercolor="#FFFFFF" bgcolor="#99CCCC"><a href="index.jsp">返回首页</a></td>
                        </tr>
                        <tr>
                            <td bordercolor="#FFFFFF" bgcolor="#99CCCC"><a href="">&nbsp;</a></td>
                        </tr>
                        <tr>
                            <td bordercolor="#000000" bgcolor="#99CCCC"><a href="">&nbsp;</a></td>
                        </tr>
                        <tr>
                            <td bordercolor="#000000" bgcolor="#99CCCC"><a href="">&nbsp;</a></td>
                        </tr>
                        <tr>
                            <td bordercolor="#000000" bgcolor="#99CCCC"><a href="">&nbsp;</a></td>
                        </tr>
                        <tr>
                            <td bordercolor="#000000" bgcolor="#99CCCC"><a href="">&nbsp;</a></td>
                        </tr>
                        <tr>
                            <td bordercolor="#000000" bgcolor="#99CCCC"><a href="">&nbsp;</a></td>
                        </tr>
                        <tr>
                            <td bordercolor="#000000" bgcolor="#99CCCC"><a href="">&nbsp;</a></td>
                        </tr>
                    </table>
                    <table align=right width=679 border=0 height=400>
                        <tr>
                            <td align=center vAlign=middle bgcolor="#FFFFFF">欢迎<%=name%>进入用户中心，在这里您可以查看修改个人信息和购物信息！</td>
                        </tr>
                    </table>
                </td>

            </tr></tbody></table>
    <br><br><br>
    <div style="background:#CCFFFF;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>
    <div style="background:#FFCCCC;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>
    <div style="background:#CCFFFF;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>
</body>
<%} else {
        response.sendRedirect("index.jsp");
    }%>
</HTML>
